package com.bwie.bean;

public class Essay {
    private Integer eid;
    private String title;
    private String img;
    private String content;
    private String statime;
    private Integer tid;

    @Override
    public String toString() {
        return "Essay{" +
                "eid=" + eid +
                ", title='" + title + '\'' +
                ", img='" + img + '\'' +
                ", content='" + content + '\'' +
                ", statime='" + statime + '\'' +
                ", tid=" + tid +
                '}';
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Essay(Integer eid, String title, String img, String content, String statime, Integer tid) {
        this.eid = eid;
        this.title = title;
        this.img = img;
        this.content = content;
        this.statime = statime;
        this.tid = tid;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStatime() {
        return statime;
    }

    public void setStatime(String statime) {
        this.statime = statime;
    }

    public Essay() {
    }

    public Essay(Integer eid, String title, String img, String content, String statime) {
        this.eid = eid;
        this.title = title;
        this.img = img;
        this.content = content;
        this.statime = statime;
    }
}
